Huh.. this is my second installation of WordPress.
The previous one got overwritten ( by me ), guess when I was exploring the files..
This is what I apparently did .. as this blog puts it , I locked myself out after amending file path setting.
The solution was simple, edit the wp-config.php file and add these two lines of code :
and then reload the page.. more about this on this page
Note that this is a hack ( a shortcut so to say ). To realize this goto your General settings in your admin panel , you will find that the WordPress address (URL) and the Site address (URL) are blurred. For a clean fix you will have to modify the database name in the WordPress website as given in this page