Example for a php login and register