Working Login System

Works. Barely. Lots of tweaking to be done however.