sign in and sign up function and fixed seed file