Removed hard-coding of login database credentials