added sign in and registration stuff