added birthday calculations and fixed authorization/authentication