Added parameter checking to signin

updated readme and added more code to sign in. still need to add the
session creation in the database