First Pull request for code review - Registration, User Log in, Pagination

you can directly return the result po
`return (preg_match("/([\w\-]+\@[\w\-]+\.[\w\-]+)/", $email))`