added user sign in functionality