Added DB saving and rudimental login

Added comments on code
Added step to ask and save database login/names/password
Added step to login