Serverside 99% of login implementation