login functionality implemented

needs a script to check and return true or false on server for login