users method completed with error handling and persistent store

landing page, signup, login, profile (more stats to be added) and
logout. local DB setup. Live Server DB not setup yet.