Finished coding authorpage script