Adds user sign in functionality