Added user login flow and local user persistence
Added user login flow and local user persistence - included all files this time :/