Redbeanphp based user authentication library