Changed error handling and added logging and user feedback.
Fixed blank password bug. It was silly.
Minor changes to the welcome screen.
Changed the password textfield to a password field.
Re-added lib folder.