Implemented Login codes

Login codes demo. Not functional.