homepage student action and redirect to library